<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.springframework.org/schema/security">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <form action="/login" method="post">
        <h3>简单登录</h3>
        Username：<input type="text" name="username" /> <br >
        Password: <input type="text" name="password" /> <br >
        <input type="submit" name="登录"/>
        <p th:text="${errorMsg}"></p>
    </form>


</html>
</body>
